<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<html>
	<head>		
		<title>${projeto.nome}: Novo requisito</title>
	</head>
	<body>
		<%@include file="painel-requisito.jsp" %>
		<div class="view-requisito full-height">
			<fieldset>
				<legend>Tipo de Requisito</legend>
				<form action="/requisiteworks/requisito/${projeto.numero}/formulario.do" method="post">
					<table class="form">
						<tr>
							<td>
								<label>Tipo: </label>
							</td>
							<td>
								<select name="tipo">
									<c:forEach items="${tipoRequisitoList}" var="tipo">
										<option value="${tipo.numero}">${tipo.nome}</option>
									</c:forEach>
								</select>
							</td>
						</tr>
						
						<tr>
							<td>&#160;</td>
							<td align="center">
								<button type="submit" value="texto" name="acao">Texto</button>
								
								<button type="submit" value="upload" name="acao">Upload</button>
							</td>
						</tr>
					</table>
				</form>
			</fieldset>
		</div>	
	</body>
</html>